package com.piggy.logi.sys.vo;

import cn.hutool.core.util.IdUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("订单货源信息")
public class LogiOrderGoodSourceExtVo {

    private Long id;

    @ApiModelProperty(value = "货源订单ID")
    private Long goodOrderId;

    @ApiModelProperty(value = "原始订单ID")
    private Long originGoodId;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    @ApiModelProperty("货号")
    private String goodCode;

    @ApiModelProperty("生产企业")
    private String produceCompany;

    @ApiModelProperty("生产地址区县Id")
    private Integer produceDistrictId;

    @ApiModelProperty("生产地址详细")
    private String produceAddress;

    @ApiModelProperty("生产地址经度")
    private Float produceLng;

    @ApiModelProperty("生产地址纬度")
    private Float produceLat;

    @ApiModelProperty("货物名称")
    private String goodsName;

    @ApiModelProperty("货物类型")
    private Integer goodsType;

    @ApiModelProperty("货物描述")
    private String goodsDesc;

    @ApiModelProperty("产品手册")
    private String productManual;

    @ApiModelProperty("质检报告")
    private String qualityReport;

    @ApiModelProperty("其他材料")
    private String otherFiles;

    @ApiModelProperty(" 上市时间")
    private Date marketTime;

    @ApiModelProperty("数量")
    private String num;

    @ApiModelProperty("重量")
    private String weight;

    @ApiModelProperty("体积")
    private String bulk;

    @ApiModelProperty("包装类型")
    private Integer packingType;

    @ApiModelProperty("实际重量")
    private String realWeight;

    @ApiModelProperty("备注")
    private String remark;


    @ApiModelProperty("uuid")
    private String uuid = IdUtil.fastUUID().toLowerCase();

    @ApiModelProperty("生产地址区县")
    private String produceDistrictName;

    @ApiModelProperty("货主信息")
    private LogiCustomerExtVo customerExtVo;
}
